package com.jumi.microservice.entity.vo;

import com.jumi.microservice.entity.JmExtraDiscountChangeLog;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

/**
 * 折扣vo
 * @author ssk
 * @create 20/11/10 16:17
 **/
@ApiModel(value = "折扣信息")
public class ExtraDiscountVo {

    @ApiModelProperty(value = "剩余额度")
    private BigDecimal leftDiscount;

    @ApiModelProperty(value = "已用额度")
    private BigDecimal usedDiscount;

    @ApiModelProperty(value = "折扣额度变化详情")
    private List<JmExtraDiscountChangeLog> details;

    public BigDecimal getLeftDiscount() {
        return leftDiscount;
    }

    public void setLeftDiscount(BigDecimal leftDiscount) {
        this.leftDiscount = leftDiscount;
    }

    public BigDecimal getUsedDiscount() {
        return usedDiscount;
    }

    public void setUsedDiscount(BigDecimal usedDiscount) {
        this.usedDiscount = usedDiscount;
    }

    public List<JmExtraDiscountChangeLog> getDetails() {
        return details;
    }

    public void setDetails(List<JmExtraDiscountChangeLog> details) {
        this.details = details;
    }
}
